<!-- /*
 * @Author: allen
 * @Date: 2020-09-08 23:28:02
 */ -->
@foreach (['danger', 'warning', 'success', 'info'] as $msg)
@if(session()->has($msg))
<div class="flash-message">
  <p class="alert alert-{{ $msg }}">
    {{ session()->get($msg) }}
  </p>
</div>
@endif
@endforeach
